package com.ildepinc.persistence.interfaces;

/**
 * The methods getNextVal and getCurrVal
 * shall be implemented in a concrete class
 */

public interface DaoWithSequenceBehaviour {
  SequenceGenericBehaviour getSequence();

  void setSequence(SequenceGenericBehaviour sequence);

  Long getNextVal() throws Exception;

  Long getCurrVal() throws Exception;
}
